package com.exercise.v2;


public class AdditionExpression extends AbstractExpression {

    public AdditionExpression() {
        super();
    }


    public AdditionExpression(int operand1, int operand2) {
        super(operand1, operand2);
    }

    @Override
    public int calculate() {
        return operand1 + operand2;
    }


    @Override
    public String getOperator() {
        return "+";
    }
}

